<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>AMQP</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.amqp.html">简介</a></div>
 <div class="up"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="book.amqp" class="book">
 <h1 class="title">AMQP</h1>
 

 
 
 






 






 






 






 






 






 






 







<ul class="chunklist chunklist_book"><li><a href="intro.amqp.html">简介</a></li><li><a href="amqp.setup.html">安装／配置</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="amqp.requirements.html">需求</a></li><li><a href="amqp.installation.html">安装</a></li><li><a href="amqp.configuration.html">运行时配置</a></li><li><a href="amqp.resources.html">资源类型</a></li></ul></li><li><a href="amqp.constants.html">预定义常量</a></li><li><a href="amqp.examples.html">范例</a></li><li><a href="class.amqpconnection.html">AMQPConnection</a> — The AMQPConnection class<ul class="chunklist chunklist_book chunklist_children"><li><a href="amqpconnection.connect.html">AMQPConnection::connect</a> — Establish a connection with the AMQP broker.</li><li><a href="amqpconnection.construct.html">AMQPConnection::__construct</a> — Create an instance of AMQPConnection</li><li><a href="amqpconnection.disconnect.html">AMQPConnection::disconnect</a> — Closes the connection with the AMQP broker.</li><li><a href="amqpconnection.gethost.html">AMQPConnection::getHost</a> — Get the configured host</li><li><a href="amqpconnection.getlogin.html">AMQPConnection::getLogin</a> — Get the configured login</li><li><a href="amqpconnection.getpassword.html">AMQPConnection::getPassword</a> — Get the configured password</li><li><a href="amqpconnection.getport.html">AMQPConnection::getPort</a> — Get the configured port</li><li><a href="amqpconnection.gettimeout.html">AMQPConnection::getTimeout</a> — Get the configured timeout</li><li><a href="amqpconnection.getvhost.html">AMQPConnection::getVhost</a> — Get the configured vhost</li><li><a href="amqpconnection.isconnected.html">AMQPConnection::isConnected</a> — Determine if the AMQPConnection object is connected to the broker.</li><li><a href="amqpconnection.reconnect.html">AMQPConnection::reconnect</a> — Closes any open connection and creates a new connection with the AMQP broker.</li><li><a href="amqpconnection.sethost.html">AMQPConnection::setHost</a> — Set the amqp host.</li><li><a href="amqpconnection.setlogin.html">AMQPConnection::setLogin</a> — Set the login.</li><li><a href="amqpconnection.setpassword.html">AMQPConnection::setPassword</a> — Set the password.</li><li><a href="amqpconnection.setport.html">AMQPConnection::setPort</a> — Set the port.</li><li><a href="amqpconnection.settimeout.html">AMQPConnection::setTimeout</a> — Set the timeout.</li><li><a href="amqpconnection.setvhost.html">AMQPConnection::setVhost</a> — Set the amqp virtual host</li></ul></li><li><a href="class.amqpchannel.html">AMQPChannel</a> — The AMQPChannel class<ul class="chunklist chunklist_book chunklist_children"><li><a href="amqpchannel.committransaction.html">AMQPChannel::commitTransaction</a> — Commit a pending transaction</li><li><a href="amqpchannel.construct.html">AMQPChannel::__construct</a> — Create an instance of an AMQPChannel object</li><li><a href="amqpchannel.isconnected.html">AMQPChannel::isConnected</a> — Check the channel connection</li><li><a href="amqpchannel.qos.html">AMQPChannel::qos</a> — Set the Quality Of Service settings for the given channel</li><li><a href="amqpchannel.rollbacktransaction.html">AMQPChannel::rollbackTransaction</a> — Rollback a transaction</li><li><a href="amqpchannel.setprefetchcount.html">AMQPChannel::setPrefetchCount</a> — Set the number of messages to prefetch from the broker</li><li><a href="amqpchannel.setprefetchsize.html">AMQPChannel::setPrefetchSize</a> — Set the window size to prefetch from the broker</li><li><a href="amqpchannel.starttransaction.html">AMQPChannel::startTransaction</a> — Start a transaction</li></ul></li><li><a href="class.amqpexchange.html">AMQPExchange</a> — The AMQPExchange class<ul class="chunklist chunklist_book chunklist_children"><li><a href="amqpexchange.bind.html">AMQPExchange::bind</a> — Bind to another exchange</li><li><a href="amqpexchange.construct.html">AMQPExchange::__construct</a> — Create an instance of AMQPExchange</li><li><a href="amqpexchange.declare.html">AMQPExchange::declare</a> — Declare a new exchange on the broker.</li><li><a href="amqpexchange.delete.html">AMQPExchange::delete</a> — Delete the exchange from the broker.</li><li><a href="amqpexchange.getargument.html">AMQPExchange::getArgument</a> — Get the argument associated with the given key</li><li><a href="amqpexchange.getarguments.html">AMQPExchange::getArguments</a> — Get all arguments set on the given exchange</li><li><a href="amqpexchange.getflags.html">AMQPExchange::getFlags</a> — Get the flag bitmask</li><li><a href="amqpexchange.getname.html">AMQPExchange::getName</a> — Get the configured name</li><li><a href="amqpexchange.gettype.html">AMQPExchange::getType</a> — Get the configured type</li><li><a href="amqpexchange.publish.html">AMQPExchange::publish</a> — Publish a message to an exchange.</li><li><a href="amqpexchange.setargument.html">AMQPExchange::setArgument</a> — Set the value for the given key</li><li><a href="amqpexchange.setarguments.html">AMQPExchange::setArguments</a> — Set all arguments on the exchange</li><li><a href="amqpexchange.setflags.html">AMQPExchange::setFlags</a> — Set the flags on an exchange</li><li><a href="amqpexchange.setname.html">AMQPExchange::setName</a> — Set the name of the exchange</li><li><a href="amqpexchange.settype.html">AMQPExchange::setType</a> — Set the type of the exchange</li></ul></li><li><a href="class.amqpqueue.html">AMQPQueue</a> — The AMQPQueue class<ul class="chunklist chunklist_book chunklist_children"><li><a href="amqpqueue.ack.html">AMQPQueue::ack</a> — Acknowledge the receipt of a message</li><li><a href="amqpqueue.bind.html">AMQPQueue::bind</a> — Bind the given queue to a routing key on an exchange.</li><li><a href="amqpqueue.cancel.html">AMQPQueue::cancel</a> — Cancel a queue binding.</li><li><a href="amqpqueue.construct.html">AMQPQueue::__construct</a> — Create an instance of an AMQPQueue object</li><li><a href="amqpqueue.consume.html">AMQPQueue::consume</a> — Consume messages from a queue</li><li><a href="amqpqueue.declare.html">AMQPQueue::declare</a> — Declare a new queue</li><li><a href="amqpqueue.delete.html">AMQPQueue::delete</a> — Delete a queue and its contents.</li><li><a href="amqpqueue.get.html">AMQPQueue::get</a> — Retrieve the next message from the queue.</li><li><a href="amqpqueue.getargument.html">AMQPQueue::getArgument</a> — Get the argument associated with the given key</li><li><a href="amqpqueue.getarguments.html">AMQPQueue::getArguments</a> — Get all arguments set on the given queue</li><li><a href="amqpqueue.getflags.html">AMQPQueue::getFlags</a> — Get the flag bitmask</li><li><a href="amqpqueue.getname.html">AMQPQueue::getName</a> — Get the configured name</li><li><a href="amqpqueue.nack.html">AMQPQueue::nack</a> — Mark a message as explicitly not acknowledged.</li><li><a href="amqpqueue.purge.html">AMQPQueue::purge</a> — Purge the contents of a queue</li><li><a href="amqpqueue.setargument.html">AMQPQueue::setArgument</a> — Set the value for the given key</li><li><a href="amqpqueue.setarguments.html">AMQPQueue::setArguments</a> — Set all arguments on the queue</li><li><a href="amqpqueue.setflags.html">AMQPQueue::setFlags</a> — Set the queue flags</li><li><a href="amqpqueue.setname.html">AMQPQueue::setName</a> — Set the queue name</li><li><a href="amqpqueue.unbind.html">AMQPQueue::unbind</a> — Unbind the queue from a routing key.</li></ul></li><li><a href="class.amqpenvelope.html">AMQPEnvelope</a> — The AMQPEnvelope class<ul class="chunklist chunklist_book chunklist_children"><li><a href="amqpenvelope.getappid.html">AMQPEnvelope::getAppId</a> — Get the message appid</li><li><a href="amqpenvelope.getbody.html">AMQPEnvelope::getBody</a> — Get the message body</li><li><a href="amqpenvelope.getcontentencoding.html">AMQPEnvelope::getContentEncoding</a> — Get the message contentencoding</li><li><a href="amqpenvelope.getcontenttype.html">AMQPEnvelope::getContentType</a> — Get the message contenttype</li><li><a href="amqpenvelope.getcorrelationid.html">AMQPEnvelope::getCorrelationId</a> — Get the message correlation id</li><li><a href="amqpenvelope.getdeliverytag.html">AMQPEnvelope::getDeliveryTag</a> — Get the message delivery tag</li><li><a href="amqpenvelope.getexchange.html">AMQPEnvelope::getExchange</a> — Get the message exchange</li><li><a href="amqpenvelope.getexpiration.html">AMQPEnvelope::getExpiration</a> — Get the message expiration</li><li><a href="amqpenvelope.getheader.html">AMQPEnvelope::getHeader</a> — Get a specific message header</li><li><a href="amqpenvelope.getheaders.html">AMQPEnvelope::getHeaders</a> — Get the message headers</li><li><a href="amqpenvelope.getmessageid.html">AMQPEnvelope::getMessageId</a> — Get the message id</li><li><a href="amqpenvelope.getpriority.html">AMQPEnvelope::getPriority</a> — Get the message priority</li><li><a href="amqpenvelope.getreplyto.html">AMQPEnvelope::getReplyTo</a> — Get the message replyto</li><li><a href="amqpenvelope.getroutingkey.html">AMQPEnvelope::getRoutingKey</a> — Get the message routing key</li><li><a href="amqpenvelope.gettimestamp.html">AMQPEnvelope::getTimeStamp</a> — Get the message timestamp</li><li><a href="amqpenvelope.gettype.html">AMQPEnvelope::getType</a> — Get the message type</li><li><a href="amqpenvelope.getuserid.html">AMQPEnvelope::getUserId</a> — Get the message user id</li><li><a href="amqpenvelope.isredelivery.html">AMQPEnvelope::isRedelivery</a> — Whether this is a redelivery of the message</li></ul></li></ul></div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intro.amqp.html">简介</a></div>
 <div class="up"><a href="refs.remote.other.html">其它服务</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
